/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.entity;

import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 车辆Entity
 * @author dhw
 * @version 2018-01-17
 */
public class TruckOwner extends DataEntity<TruckOwner> {
	
	private static final long serialVersionUID = 1L;
	private String unit;		// 车属单位
	private String name;		// 车主姓名
	private String phone;		// 车主电话
	private String idCard;		// 车主身份证
	private List<Trucks> trucksList = Lists.newArrayList();		// 子表列表
	private String isrepeat;		// 重复

	public String getIsrepeat() {
		return isrepeat;
	}

	public void setIsrepeat(String isrepeat) {
		this.isrepeat = isrepeat;
	}

	public TruckOwner() {
		super();
	}

	public TruckOwner(String id){
		super(id);
	}

	@ExcelField(title="车属单位", align=2, sort=6)
	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}
	
	@ExcelField(title="车主姓名", align=2, sort=7)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="车主电话", align=2, sort=8)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@ExcelField(title="车主身份证", align=2, sort=9)
	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	
	public List<Trucks> getTrucksList() {
		return trucksList;
	}

	public void setTrucksList(List<Trucks> trucksList) {
		this.trucksList = trucksList;
	}
}